home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2009 July/August / PC Active NR.227.iso / Software / Games / windows / Freeciv-2.1.9-win32-gtk2-setup.exe / data / hex2t.tilespec < prev    next >
Encoding:
Text File  |  2009-03-30  |  3.5 KB  |  187 lines

  1.  
  2. [tilespec]
  3.  
  4. ; Format and options of this tilespec file:
  5.  
  6. options = "+tilespec4"
  7.  
  8. ; A simple name for the tileset specified by this file:
  9.  
  10. name = "hex-2 tileset"
  11. priority = 5
  12.  
  13. ; TODO: add more overall information fields on tiles, 
  14. ; eg, description, authors, colors, etc.
  15.  
  16. ; Basic tile sizes:
  17.  
  18. normal_tile_width  = 40
  19. normal_tile_height = 72
  20. small_tile_width   = 15
  21. small_tile_height  = 20
  22.  
  23. ; Use roadstyle 0 (old iso style)
  24.  
  25. roadstyle = 0
  26.  
  27. ; Use fogstyle 0 (old iso style)
  28.  
  29. fogstyle = 0
  30.  
  31. ; Use darkness style 1 (single-sprite)
  32.  
  33. darkness_style = 2
  34.  
  35. ; offset the flags by this amount when drawing units
  36.  
  37. unit_flag_offset_x = 1
  38. unit_flag_offset_y = 59
  39. city_flag_offset_x = 1
  40. city_flag_offset_y = 51
  41.  
  42. ; offset units by this amount
  43.  
  44. unit_offset_x = 4
  45. unit_offset_y = 57
  46.  
  47. ; offset the citybar text by this amount (from the city tile origin)
  48.  
  49. citybar_offset_y = 48
  50.  
  51. ; Hex data.
  52.  
  53. is_hex = 1
  54. is_isometric = 1
  55. hex_side = 24
  56.  
  57. ; Font to use to draw city names:
  58.  
  59. city_names_font = "6x13bold"
  60.  
  61. ; Font to use to draw city productions:
  62.  
  63. city_productions_font = "6x13"
  64.  
  65. ; Should flags be drawn as transparent:  (else opaque)
  66.  
  67. flags_are_transparent = 1
  68.  
  69. ; Font size (points) to use to draw city names and productions:
  70. city_names_font_size = 10
  71. city_productions_font_size = 10
  72.  
  73. ; These are special because they get freed and reloaded
  74. ; as required:
  75.  
  76. main_intro_file    = "misc/intro"
  77. minimap_intro_file = "misc/radar"
  78.  
  79. ; Below, the graphics spec files; must be somewhere (anywhere) in 
  80. ; the data path. Order may be important for color allocation on 
  81. ; low-color systems, and if there are any duplicate tags (lattermost
  82. ; tag is used).
  83.  
  84. files = 
  85.   "misc/colors.spec",
  86.   "misc/overlays.spec",
  87.   "misc/citybar.spec",
  88.   "hex2t/tiles.spec",
  89.   "hex2t/overlays.spec",
  90.   "trident/units.spec",
  91.   "hex2t/select.spec",
  92.   "hex2t/items.spec",
  93.   "hex2t/grid.spec",
  94.   "misc/small.spec",
  95.   "misc/buildings.spec",
  96.   "misc/flags.spec",
  97.   "misc/shields.spec",
  98.   "misc/cursors.spec",
  99.   "misc/space.spec",
  100.   "misc/techs.spec",
  101.   "misc/treaty.spec",
  102.   "misc/icons.spec",
  103.   "amplio/nuke.spec"
  104.  
  105.  
  106. ; Include color definitions
  107. *include "misc/colors.tilespec"
  108.  
  109. ; Terrain info - see README.graphics
  110.  
  111. [layer0]
  112. match_style = "BOOL"
  113. match_types = "ocean", "other"
  114.  
  115. [layer1]
  116. match_style = "BOOL"
  117. match_types = "forest", "hills", "mountains", "jungle", "steep"
  118.  
  119. [terrain_arctic]
  120. is_blended = 1
  121. num_layers = 1
  122. layer0_match_type = "other"
  123. mine_sprite = "tx.oil_mine"
  124.  
  125. [terrain_desert]
  126. is_blended = 1
  127. num_layers = 1
  128. layer0_match_type = "other"
  129. mine_sprite = "tx.oil_mine"
  130.  
  131. [terrain_forest]
  132. is_blended = 1
  133. num_layers = 2
  134. layer0_match_type = "other"
  135. layer1_match_style = "bool"
  136. layer1_match_type = "forest"
  137.  
  138. [terrain_grassland]
  139. is_blended = 1
  140. num_layers = 1
  141. layer0_match_type = "other"
  142.  
  143. [terrain_hills]
  144. is_blended = 1
  145. num_layers = 2
  146. layer0_match_type = "other"
  147. layer1_match_style = "bool"
  148. layer1_match_type = "steep"
  149. mine_sprite = "tx.mine"
  150.  
  151. [terrain_jungle]
  152. is_blended = 1
  153. num_layers = 2
  154. layer0_match_type = "other"
  155. layer1_match_style = "none"
  156. layer1_match_type = "jungle"
  157.  
  158. [terrain_mountains]
  159. is_blended = 1
  160. num_layers = 2
  161. layer0_match_type = "other"
  162. layer1_match_style = "bool"
  163. layer1_match_type = "steep"
  164. mine_sprite = "tx.mine"
  165.  
  166. [terrain_ocean]
  167. is_blended = 0
  168. num_layers = 1
  169. layer0_match_style = "bool"
  170. layer0_match_type = "ocean"
  171. layer0_cell_type = "rect"
  172.  
  173. [terrain_plains]
  174. is_blended = 1
  175. num_layers = 1
  176. layer0_match_type = "other"
  177.  
  178. [terrain_swamp]
  179. is_blended = 1
  180. num_layers = 1
  181. layer0_match_type = "other"
  182.  
  183. [terrain_tundra]
  184. is_blended = 1
  185. num_layers = 1
  186. layer0_match_type = "other"
  187.